package net.csdn.business.gateway.service;

import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;


/**
 * @Desc: CustomUserDetailsService
 * @ClassName: CustomUserDetailsService
 * @Author: yourleige@163.com
 * @Date: 2022/9/26 15:42
 */
/*public interface CustomUserDetailsService extends UserDetailsService {

	*//**
	 * 根据authing获取用户信息登录
	 * @param aToken TYPE@CODE
	 * @return UserDetails
	 * @throws UsernameNotFoundException
	 *//*
	UserDetails loadUserByAuthing(String aToken) throws Exception;


	*//**
	 * 根据用户名和密码，调用authing登录
	 * @param userName 用户名
	 * @param password 密码
	 * @return UserDetails
	 * @throws UsernameNotFoundException
	 *//*
	UserDetails login(String userName,String password) throws Exception;

}*/
